// Copyright (c) 2019-2020 The Jaeger Authors.
// SPDX-License-Identifier: Apache-2.0

import { TEdge } from '@jaegertracing/plexus/lib/types';

import { TDenseSpanMembers } from '../../../model/trace-dag/types';
import TDagPlexusVertex from '../../../model/trace-dag/types/TDagPlexusVertex';

export type TSumSpan = {
  count: number;
  errors: number;
  percent: number;
  percentSelfTime: number;
  selfTime: number;
  time: number;
};

export type TEv = {
  edges: TEdge<{ followsFrom: boolean }>[];
  vertices: TDagPlexusVertex<TSumSpan & TDenseSpanMembers>[];
};
